package org.lyq.erp.utils.excel;
import org.springframework.util.ResourceUtils;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

/**
 * 
* @ClassName: TemplateFileUtil
* @Description:
* @author LQY(廖先生)
* @date 2018年3月26日 下午8:28:49
*
 */
public class TemplateFileUtil {

    public static FileInputStream getTemplates(String tempName) throws FileNotFoundException {
        return new FileInputStream(ResourceUtils.getFile("classpath:"+tempName));
    }
}